﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common.Master" AutoEventWireup="true" CodeBehind="ArchiveGuidangList.aspx.cs" Inherits="Web.Views.ArchiveManage.ArchiveGuidangList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script type="text/javascript" src="../../Javascript/UserControls.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#btn_AddArchive").click(function () {
                //                openWindow("新增卷", "ArchiveEdit.aspx", "800", "600");
                var typeId = $("#ctl00_ContentPlaceHolder1_archiveTypeId").val();
                window.location = "ArchiveEdit.aspx?archiveType=" + typeId;
            });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="toolbar2">
        <button type="button" id="btn_AddArchive" class="sexybutton"><span><span><span class="select">接收</span></span></span></button>
        <button type="button" class="sexybutton"><span><span><span class="disk">打印档案交接文据</span></span></span></button>
          <button type="button" class="sexybutton"><span><span><span class="disk">打印企业档案目录</span></span></span></button>
          <button type="button" class="sexybutton"><span><span><span class="delete">删除</span></span></span></button>
      </div>

<div id="tt" class="easyui-tabs" border="false">
        <div title="待接收档案">
            <div style="overflow:visible;">
                 <h3>待接收档案</h3>
      <ep:EPGridView ID="gv_Archive" DataKeyNames="ARCHIVEID" runat="server" Width="100%" ShowCheckBox="true" OnRowDataBound="gr_Archive_RowDataBound"  OnRowEditing="gr_Archive_RowEditing" OnRowDeleting="gv_Archive_RowDeleting">
      <Columns>
            <asp:CommandField ButtonType="Button" ControlStyle-CssClass="btn"  EditText="详情"  ShowEditButton="true"  HeaderText="操作" HeaderStyle-Width="10%" ItemStyle-HorizontalAlign="Center"  />
      <asp:TemplateField>
      <HeaderStyle Width="4%" />
      <ItemStyle  HorizontalAlign="Center"/>
      <ItemTemplate></ItemTemplate>
      </asp:TemplateField>
      <asp:BoundField HeaderText="档号" DataField="TEMPORDERNUM" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="题名" DataField="TITLE" HeaderStyle-Width="18%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="归档单位" DataField="PUBLISHER" HeaderStyle-Width="8%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="分发日期" DataField="PUBLISHTIME" DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="false" HeaderStyle-Width="10%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="分发单位" DataField="F_SECURITYTYPE" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="操作人" DataField="MAINBODYNUM" HeaderStyle-Width="10%" ItemStyle-HorizontalAlign="Center" />
      </Columns>
      </ep:EPGridView>
      <ep:AspNetPager SubmitButtonText=" GO " ID="pager" Height="26px"    Width="100%" CssClass="yahoo2"
                    runat="server"  PageSize="10" LayoutType="Table"
                    ShowCustomInfoSection="Right" CustomInfoClass="custom" CustomInfoStyle=" clear:both;"
                    ShowPageIndexBox="Always" SubmitButtonImageUrl="../Images/go.png" ShowPageIndex="true"
                    PageIndexBoxType="TextBox"  CustomInfoHTML="第 %CurrentPageIndex% 页，共 %PageCount% 页，每页显示 %PageSize% 条，共 %RecordCount% 条" OnPageChanging="pager_PageChanging"
                    AlwaysShow="false">
                </ep:AspNetPager>
            </div>
        </div>
        <div title="已接收档案" style="overflow: visible;">
            <div style="overflow: hidden;">
                             <h3>已接收档案</h3>
                    <ep:EPGridView ID="gv_Archive_do" DataKeyNames="ARCHIVEID" runat="server" Width="100%"  OnRowDataBound="gr_Archive_do_RowDataBound">
      <Columns>
            <asp:CommandField ButtonType="Button" ControlStyle-CssClass="btn"  EditText="详情"  ShowEditButton="true"  HeaderText="操作" HeaderStyle-Width="10%" ItemStyle-HorizontalAlign="Center"  />
      <asp:TemplateField>
      <HeaderStyle Width="4%" />
      <ItemStyle  HorizontalAlign="Center"/>
      <ItemTemplate></ItemTemplate>
      </asp:TemplateField>
      <asp:BoundField HeaderText="档号" DataField="TEMPORDERNUM" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="题名" DataField="TITLE" HeaderStyle-Width="18%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="归档单位" DataField="PUBLISHER" HeaderStyle-Width="8%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="分发日期" DataField="PUBLISHTIME" DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="false" HeaderStyle-Width="10%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="分发单位" DataField="F_SECURITYTYPE" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="操作人" DataField="MAINBODYNUM" HeaderStyle-Width="10%" ItemStyle-HorizontalAlign="Center" />
      </Columns>
      </ep:EPGridView>
      <ep:AspNetPager SubmitButtonText=" GO " ID="pagerdo" Height="26px"    Width="100%" CssClass="yahoo2"
                    runat="server"  PageSize="10" LayoutType="Table"
                    ShowCustomInfoSection="Right" CustomInfoClass="custom" CustomInfoStyle=" clear:both;"
                    ShowPageIndexBox="Always" SubmitButtonImageUrl="../Images/go.png" ShowPageIndex="true"
                    PageIndexBoxType="TextBox"  CustomInfoHTML="第 %CurrentPageIndex% 页，共 %PageCount% 页，每页显示 %PageSize% 条，共 %RecordCount% 条" OnPageChanging="pagerdo_PageChanging"
                    AlwaysShow="false">
                </ep:AspNetPager>
            </div>
        </div>
    </div>
      <asp:HiddenField ID="archiveTypeId" runat="server" />
</asp:Content>
